From: Rosen Penev Date: Fri, 1 Aug 2025 02:09:47 +0000 (-0700) Subject: unixodbc: compile as gnu11 X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=8f0f27e24f855951c10a49094400abf875af128c;p=feed%2Fpackages.git unixodbc: compile as gnu11 Fixes compilation with GCC15. Properly fixing this is too convoluted. Signed-off-by: Rosen Penev --- diff --git a/libs/unixodbc/Makefile b/libs/unixodbc/Makefile index e862b190dd..3244bd4620 100644 --- a/libs/unixodbc/Makefile +++ b/libs/unixodbc/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=unixodbc PKG_VERSION:=2.3.12 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=unixODBC-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.unixodbc.org @@ -143,6 +143,8 @@ $(call Package/unixodbc/Default/description) This package provides the PostgreSQL driver for ODBC. endef +TARGET_CFLAGS += -std=gnu11 + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/